// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.kompas.bola.application.ui;

import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.util.AttributeSet;
import android.util.DisplayMetrics;
import android.widget.EditText;

public class CustomEditText extends EditText
{

    public CustomEditText(Context context, AttributeSet attributeset)
    {
        super(context, attributeset);
        if(!isInEditMode())
        {
            int i = context.getSharedPreferences("interval", 0).getInt("font_size", 1);
            setTextSize(2, getTextSize() / context.getResources().getDisplayMetrics().scaledDensity + (float)(i * 2));
        }
    }
}
